package com.tzbank.wisdom.controller;

import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.tzbank.wisdom.service.CardBinInfoService;

import io.swagger.annotations.ApiOperation;
/**
 * 卡bin信息查询服务
 * @author tzbank
 *
 */
@RestController
@RequestMapping("cardBin")
public class CardBinInfoController {
	@Autowired
	private CardBinInfoService cardBinInfoService;
	
	
	
	
	
	
	 /**
     * 卡bin信息查询服务
     * @param request
     * @param reqBody
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/queryBinInfo")
    @ApiOperation(value = "卡bin信息查询服务", notes = "卡bin信息查询服务接口")
	public Map<String,Object> queryCradBin(@RequestBody Map<String,String> bodyMap){
		return cardBinInfoService.getCardBinInfo(bodyMap);
	}
}
